package logsvr

import "go.uber.org/zap"

type LogFields struct {
	fields []zap.Field
}

func (m *LogFields) GetFields() []zap.Field {
	return m.fields
}

func (m *LogFields) AddField(f zap.Field) {
	m.fields = append(m.fields, f)
}

func (m *LogFields) AddFields(fs []zap.Field) {
	m.fields = append(m.fields, fs...)
}
